<template>
  <div class="kb">
    <div class="top" @click="fun">
    <img class="top-1" src="https://gw.alicdn.com/imgextra/i4/O1CN019XWXNq1aAPOVMYSiu_!!6000000003289-2-tps-167-63.png" alt="">
        <div class="top-2">
            <p>寻找宝贝店铺</p>
            <div>搜索</div>
        </div>
        <img class="top-3" src="https://gw.alicdn.com/imgextra/i4/O1CN01ftum4629SHP6bCqTm_!!6000000008066-2-tps-99-99.png" alt="">
  </div>
  </div>
</template>

<script>
export default {
    methods:{
        fun(){
            this.$router.push('/mysearch')
        }
    }
}
</script>

<style lang="scss" scoped>
    .top {
    width: 7.5rem;
    height: 1rem;
    display: flex;
    background: #f4f4f4;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    z-index: 4;
}

.kb {
    width: 7.5rem;
    height: 1rem;
}

.top .top-1 {
    width: 1.11rem;
    height: .42rem;
    margin-left: .3rem;
}

.top .top-2 {
    width: 4.71rem;
    height: .7rem;
    border: 1px solid #fd7131;
    border-radius: 1rem;
    display: flex;
    padding: 0 0 0 0.3rem;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

.top .top-2 div {
    width: 1.28rem;
    height: 0.64rem;
    border: 0.01rem solid #fff;
    text-align: center;
    line-height: 0.64rem;
    font-size: 0.28rem;
    color: #fff;
    border-radius: 0.32rem;
    background: linear-gradient(to right, #FF8D0E, #FF5000);
}

.top .top-3 {
    width: .66rem;
    height: .66rem;
    margin-right: .3rem;
}
</style>